<template>
  <div>
    <Header></Header>
    <router-view></router-view>
    <!-- <Footer v-if="$route.path !== '/login' && $route.path !== 'register'"></Footer> -->
    <!-- <Footer v-if="isShowFooter"></Footer> -->
    <Footer v-if="!$route.meta.isShowFooter"></Footer>
  </div>
</template>

<script>

import Header from '@/components/Header'
import Footer from '@/components/Footer'
export default {
  
  name: 'JApp',
  components: {
    Header,
    Footer,
  },
  // computed: {
  //   isShowFooter() {
  //     const path = this.$route.path
  //     return path !== '/login' && path !== '/register'
  //   },
  // },
}
</script>

<style scoped></style>
